package com.swjd.pojo;

public class Home {

	private int rid;
	private String rname;
	private int price;
	private String area;
	private String picture;
	
	public Home(int rid, String rname, int price, String area, String picture) {
		super();
		this.rid = rid;
		this.rname = rname;
		this.price = price;
		this.area = area;
		this.picture = picture;
	}
	public Home() {
		super();
	}
	
	
	public int getRid() {
		return rid;
	}
	public void setRid(int rid) {
		this.rid = rid;
	}
	public String getRname() {
		return rname;
	}
	public void setRname(String rname) {
		this.rname = rname;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	@Override
	public String toString() {
		return "Home [rid=" + rid + ", rname=" + rname + ", price=" + price + ", area=" + area + ", picture=" + picture
				+ "]";
	}
	
}
